package com.daiqee.pojo;

import java.io.Serializable;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.daiqee.annotations.DateField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 采购合同
 * @author Administrator
 * @since 2.1
 * @version 2.1
 * @time 2018年4月29日17:50:51
 */

/**
 * 采购合同
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午5:45:33
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName("procurement_contract")
public class ProcurementContract extends LogicDeleteFlag implements Serializable{
	
	private static final long serialVersionUID = 9072377844211962235L;

	@TableId(type=IdType.UUID)
    private String procureConId;

    private Integer procureConOrderNumber;

    private String procureConProcureEnterprise;

    private String procureConProcureAgent;

    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String procureConSupplierEnterprise;
    
    private String procureConSupplyAgent;

    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String procureConSigningAddress;

    @DateField
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date procureConSigningTitme;

    private String procureConBrowse;

    public String getProcureConId() {
        return procureConId;
    }

    public void setProcureConId(String procureConId) {
        this.procureConId = procureConId;
    }

    public Integer getProcureConOrderNumber() {
        return procureConOrderNumber;
    }

    public void setProcureConOrderNumber(Integer procureConOrderNumber) {
        this.procureConOrderNumber = procureConOrderNumber;
    }

    public String getProcureConProcureEnterprise() {
        return procureConProcureEnterprise;
    }

    public void setProcureConProcureEnterprise(String procureConProcureEnterprise) {
        this.procureConProcureEnterprise = procureConProcureEnterprise == null ? null : procureConProcureEnterprise.trim();
    }

    public String getProcureConProcureAgent() {
        return procureConProcureAgent;
    }

    public void setProcureConProcureAgent(String procureConProcureAgent) {
        this.procureConProcureAgent = procureConProcureAgent == null ? null : procureConProcureAgent.trim();
    }

    public String getProcureConSupplierEnterprise() {
        return procureConSupplierEnterprise;
    }

    public void setProcureConSupplierEnterprise(String procureConSupplierEnterprise) {
        this.procureConSupplierEnterprise = procureConSupplierEnterprise == null ? null : procureConSupplierEnterprise.trim();
    }

    public String getProcureConSupplyAgent() {
        return procureConSupplyAgent;
    }

    public void setProcureConSupplyAgent(String procureConSupplyAgent) {
        this.procureConSupplyAgent = procureConSupplyAgent == null ? null : procureConSupplyAgent.trim();
    }

    public String getProcureConSigningAddress() {
        return procureConSigningAddress;
    }

    public void setProcureConSigningAddress(String procureConSigningAddress) {
        this.procureConSigningAddress = procureConSigningAddress == null ? null : procureConSigningAddress.trim();
    }

    public Date getProcureConSigningTitme() {
        return procureConSigningTitme;
    }

    public void setProcureConSigningTitme(Date procureConSigningTitme) {
        this.procureConSigningTitme = procureConSigningTitme;
    }

    public String getProcureConBrowse() {
        return procureConBrowse;
    }

    public void setProcureConBrowse(String procureConBrowse) {
        this.procureConBrowse = procureConBrowse == null ? "" : procureConBrowse.trim();
    }
}